﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;


using System.IO;

using Properties = HolisticWare.VoIP.Getafisk.DLL_02BL_netfx35.any_any_any.Properties;

namespace HolisticWare.VoIP.Getafisk.DLL_05PL_netfx35.WF.any_any_any
{
	public partial class UserControlProvisioning : UserControl
	{

		public UserControlProvisioning()
		{

			InitializeComponent();

			textBox1.Text = Properties.Settings.Default.DirProjectOutput;
		}

		private void button1_Click(object sender, EventArgs e)
		{
			string filename = textBox1.Text + @"\extensions.csv";

			// create reader & open file
			TextReader tr = new StreamReader(filename);
			string content = tr.ReadToEnd();
			// close the stream
			tr.Close();

			textBox2.Text = content;

			return;
		}
	}
}
